/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsTagBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsTagBL 
    {
    	#region Private Variables
		cmsTagDAL objcmsTagDAL;
		#endregion
		
        #region Public Constructors
        public cmsTagBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsTagDAL=new cmsTagDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsTagDO objcmsTagDO)
        {
            return objcmsTagDAL.Insert(objcmsTagDO);
        }

        public int Update(cmsTagDO objcmsTagDO)
        {
             return objcmsTagDAL.Update(objcmsTagDO);

        }

        public int Delete(cmsTagDO objcmsTagDO)
        {
             return objcmsTagDAL.Delete(objcmsTagDO);

        }

         public int DeleteAll()
        {
             return objcmsTagDAL.DeleteAll();
        }

        public cmsTagDO Select(cmsTagDO objcmsTagDO)
        {
            return objcmsTagDAL.Select(objcmsTagDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsTagDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsTagDAL.SelectAll();
        }

        public DataTable GetTopByType( int Type, int top)
        {
            return objcmsTagDAL.GetTopByType(Type, top);
        }
        public DataTable GetByType(int top, int type)
        {
            return objcmsTagDAL.GetByType(top, type);
        }
#endregion          
    
    }

}
